package com.study.project.service;

import java.util.concurrent.TimeUnit;

/**
 * @author yangjie
 * 
 * @desc RedisCacheService
 * @date 2024/4/13-14:28
 */

public interface RedisCacheService {
    String limitRate(String key, Integer time, TimeUnit timeUnit);

    Object getCacheByKey(String key);

    void setCacheByKey(String key, Object value);
}
